import { createApp } from "vue";
// import { createPinia } from 'pinia'
import { setupStore } from "@/store";
import { setupElIcons } from "./plugins/icons";

import "element-plus/theme-chalk/dark/css-vars.css";
import "@/styles/index.scss";
// import "@/styles/scrollBar.scss";
import "@/styles/popoverClass.scss";
import "@/utils/rem";
import App from "./App.vue";
import router from "./router";

// 导入视频播放组件
import VueVideoPlayer from "@videojs-player/vue";
import "video.js/dist/video-js.css";

const app = createApp(App);

// app.use(createPinia())
app.use(router);
app.use(VueVideoPlayer);
// 注册store
setupStore(app);
// 注册icon
setupElIcons(app);

app.mount("#app");
